#!/usr/bin/env python
# -*- conding: utf-8 -*-

"""
@Time     : 2024/9/3 7:39
@Author   : liujingmao
@File     : 2.Office文档加载器.py
"""

from langchain_community.document_loaders import (
    UnstructuredPowerPointLoader
)

ppt_loader = UnstructuredPowerPointLoader("./章节介绍.pptx")

document = ppt_loader.load()

print(document)
print(len(document))
print(document[0].metadata)
